Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jail: Add archive subcommand and create method #795

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brooksdavis
Copy link
Contributor

The archive subcommand (-A) creates a tar file containing the contents of a jail and it's metadata. The create subcommand (-c) gains a new method to create a new jail from an archive, restoring its metadata. This can be used to save a copy of a jail before updates or to transfer a jail to another machine.

This PR depends on (and thus contains) #793

Set a command name rather than creating a pseudo-bitmask that requires
each case to be updated each time a command is added.
The archive subcommand (-A) creates a tar file containing the contents
of a jail and it's metadata.  The create subcommand (-c) gains a new
method to create a new jail from an archive, restoring its metadata.
This can be used to save a copy of a jail before updates or to transfer
a jail to another machine.
@bdrewery
Copy link
Member

@brooksdavis Can you please rebase after the #793 merge? Looks like the ports piece was missed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants